export default {
  __config__: {
    label: "数值图",
    tag: "xcchart_control_digital",
    tagIcon: "input",
    layout: "colFormItem",
  },
  xcchart_base_xctitle: {
    value: "数值图",
  },
  xcchart_data_dim: {
    type: 'sql',
    sql: 'select id dimcode,name dimlabel from fa_category',
    hiddenZeroLabel: true,
  },
  xcchart_data_facts: {
    maxfacts: 1,
    values: [{
      name: '访问量',
      type: 'bar',
      sql: 'select category_id dimcode,sum(views) fact from fa_test group by dimcode'
    }]
  },
  xcchart_layout_innerspan: {
    pcvalue: 4,
    mobilevalue: 2
  },
  xcchart_layout_span: {
    value: 12,
  },
  __answer__: {
    value: null
  }
};
